package com.molichuxing.services.business.service;

import com.molichuxing.framework.service.RootService;
import com.molichuxing.services.business.dto.request.create.OrderPurchaseCreateBizDto;
import com.molichuxing.services.business.dto.request.modify.OrderPayModifyBizDto;
import com.molichuxing.services.business.dto.response.OrderPurchaseBizDto;

/**
 * 加购里程biz服务
 * 
 * @author zoumingyu
 * @date 2019年9月23日
 *
 */
public interface OrderPurchaseBizService extends RootService {

	/**
	 * 加购里程信息(不包括已取消)
	 * 
	 * @param masterOrderCode
	 *            主订单号
	 * @return
	 */
	public OrderPurchaseBizDto getOrderPurchase(Long masterOrderCode);

	/**
	 * 新增加购订单
	 * 
	 * @param createDto
	 * @return 订单号
	 */
	public Long createOrderPurchase(OrderPurchaseCreateBizDto createDto);

	/**
	 * 支付成功后修改订单信息
	 * 
	 * @param modifyDto
	 * @return
	 */
	public Boolean modifyPaySuccess(OrderPayModifyBizDto modifyDto);

}
